home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 11 / Info-Mac_XI_Disc_1.cdr_ / Info-Mac XI Disc 1.cdr / Programs / Science & Math / Coax / velocity.m < prev   
Encoding:
Text File  |  1997-01-30  |  300 b   |  10 lines  |  [TEXT/MATL]

  1. function f=velocity(epsilonR,muR)
  2. % velocity(epsilonR,muR) - wave velocity of coaxial cable
  3. %  epsilonR - relative dielectric constant of dialectric (1 for air)
  4. %  muR - relative permeability of dielectric (1 for air)
  5.  
  6. c=2.998e8;
  7. % c - velocity of light in free space
  8.  
  9. f= c ./ sqrt(muR .* epsilonR);
  10.